package com.jctrip.hotel.management.model.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@ApiModel(value = "子菜单对象")
@Data
@Builder
public class GetPermissionInfo {
    @ApiModelProperty("主键id")
    private String id;

    @ApiModelProperty("菜单名")
    private String name;

    @ApiModelProperty("url")
    private String url;

    @ApiModelProperty("子菜单")
    private List<GetPermissionInfo> subs;
}